import { createApp } from 'vue'
import 'tools-javascript'
import App from './App.vue'
import localcom from './components'
import { router } from './router'
import './styles/index.less'
import 'tools-css/index.css'
import uiVite from './plugin/uiVite'
import { Scope } from 'tools-vue3'

const app = createApp(App)
app.use(localcom).use(router)

//如果要在项目中使用，先访问https://cdn.c44.cc/vicon/vicon.zip下载，然后解压到项目的/pulbic/vicon目录中，解压后保证存在/public/vicon/ant/_all.json这样的地址
// VConf.vicon.url = '/vicon'

//#ifvar-dev
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
app.use(ElementPlus)

//#endvar

Scope.CEventBean = CEventBean
Scope.TimerBean = TimerBean
app.use(uiVite)
app.mount('#app')
